/*
 * XML Type:  EOperation
 * Namespace: http://www.eclipse.org/emf/2002/Ecore
 * Java type: org.eclipse.emf.x2002.ecore.EOperation
 *
 * Automatically generated - do not modify.
 */
package org.eclipse.emf.x2002.ecore;


/**
 * An XML EOperation(@http://www.eclipse.org/emf/2002/Ecore).
 *
 * This is a complex type.
 */
public interface EOperation extends org.eclipse.emf.x2002.ecore.ETypedElement
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(EOperation.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sFBDCFB7615E0FAB3CF0394CF3AD1FE99").resolveHandle("eoperation9d6ctype");
    
    /**
     * Gets array of all "eParameters" elements
     */
    org.eclipse.emf.x2002.ecore.EParameter[] getEParametersArray();
    
    /**
     * Gets ith "eParameters" element
     */
    org.eclipse.emf.x2002.ecore.EParameter getEParametersArray(int i);
    
    /**
     * Returns number of "eParameters" element
     */
    int sizeOfEParametersArray();
    
    /**
     * Sets array of all "eParameters" element
     */
    void setEParametersArray(org.eclipse.emf.x2002.ecore.EParameter[] eParametersArray);
    
    /**
     * Sets ith "eParameters" element
     */
    void setEParametersArray(int i, org.eclipse.emf.x2002.ecore.EParameter eParameters);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "eParameters" element
     */
    org.eclipse.emf.x2002.ecore.EParameter insertNewEParameters(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "eParameters" element
     */
    org.eclipse.emf.x2002.ecore.EParameter addNewEParameters();
    
    /**
     * Removes the ith "eParameters" element
     */
    void removeEParameters(int i);
    
    /**
     * Gets the "eExceptions" attribute
     */
    java.util.List getEExceptions();
    
    /**
     * Gets (as xml) the "eExceptions" attribute
     */
    org.eclipse.emf.x2002.ecore.EOperation.EExceptions xgetEExceptions();
    
    /**
     * True if has "eExceptions" attribute
     */
    boolean isSetEExceptions();
    
    /**
     * Sets the "eExceptions" attribute
     */
    void setEExceptions(java.util.List eExceptions);
    
    /**
     * Sets (as xml) the "eExceptions" attribute
     */
    void xsetEExceptions(org.eclipse.emf.x2002.ecore.EOperation.EExceptions eExceptions);
    
    /**
     * Unsets the "eExceptions" attribute
     */
    void unsetEExceptions();
    
    /**
     * An XML eExceptions(@).
     *
     * This is a list type whose items are org.apache.xmlbeans.XmlAnyURI.
     */
    public interface EExceptions extends org.apache.xmlbeans.XmlAnySimpleType
    {
        java.util.List getListValue();
        java.util.List xgetListValue();
        void setListValue(java.util.List list);
        /** @deprecated */
        java.util.List listValue();
        /** @deprecated */
        java.util.List xlistValue();
        /** @deprecated */
        void set(java.util.List list);
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(EExceptions.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sFBDCFB7615E0FAB3CF0394CF3AD1FE99").resolveHandle("eexceptions6f1battrtype");
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static org.eclipse.emf.x2002.ecore.EOperation.EExceptions newValue(java.lang.Object obj) {
              return (org.eclipse.emf.x2002.ecore.EOperation.EExceptions) type.newValue( obj ); }
            
            public static org.eclipse.emf.x2002.ecore.EOperation.EExceptions newInstance() {
              return (org.eclipse.emf.x2002.ecore.EOperation.EExceptions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static org.eclipse.emf.x2002.ecore.EOperation.EExceptions newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (org.eclipse.emf.x2002.ecore.EOperation.EExceptions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static org.eclipse.emf.x2002.ecore.EOperation newInstance() {
          return (org.eclipse.emf.x2002.ecore.EOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EOperation newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (org.eclipse.emf.x2002.ecore.EOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static org.eclipse.emf.x2002.ecore.EOperation parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.EOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EOperation parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.EOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static org.eclipse.emf.x2002.ecore.EOperation parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EOperation parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static org.eclipse.emf.x2002.ecore.EOperation parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EOperation parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static org.eclipse.emf.x2002.ecore.EOperation parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EOperation parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static org.eclipse.emf.x2002.ecore.EOperation parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EOperation parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static org.eclipse.emf.x2002.ecore.EOperation parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.EOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EOperation parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.EOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static org.eclipse.emf.x2002.ecore.EOperation parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.EOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EOperation parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.EOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.eclipse.emf.x2002.ecore.EOperation parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.eclipse.emf.x2002.ecore.EOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.eclipse.emf.x2002.ecore.EOperation parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.eclipse.emf.x2002.ecore.EOperation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
